<form id="p_userAddress" class="post-tr" style="width:450px">
  <span class="sh">城市区域：</span>
  <span class="sp"><input type="text" id="ua_d_area" autocomplete="off" name="d[area]" size="35" check="^.+$" /></span>
  <span class="sh">详细街道：</span>
  <span class="sp"><input type="text" name="d[street]" size="50" check="^.+$" /></span>
  <span class="sh">邮政编码：</span>
  <span class="sp"><input type="text" name="d[zipcode]" size="6" check="^(\d{6,6})?$" /></span>
  <div class="separator"></div>
  <span class="sh">姓名：</span>
  <span class="sp"><input type="text" name="d[compellation]" check="^.+$" /></span>
  <span class="sh">联系电话：</span>
  <span class="sp"><input type="text" name="d[tel]" check="^.+$" /></span>
  <span class="sh"></span>
  <span class="sp"><button class="submit" type="button">保存</button></span>
</form>

<script>
select_area('#ua_d_area');
$('#p_userAddress button').bind('click',function(){ 
    var f= $('#p_userAddress'), o=$(this);
    if (!CheckForm(f[0]) || !TEMP['ClueBoxUserAddre'])return;
	o.attr('disabled', true);
    $.post(ROOT_URL+'?u=cuser\\address-fsave', f.serialize(), function(r){o.attr('disabled', false);
        if(checAjaxRe(r)){
            TEMP['ClueBoxUserAddre'].close().finish(r);
			TEMP['ClueBoxUserAddre'] = null;
		}
    });
});
</script>